package com.colin.app.activity.method;

import android.net.Uri;

import com.colin.library.base.BaseModel;
import com.colin.library.base.BasePresenter;
import com.colin.library.base.BaseView;

import java.io.File;
import java.util.List;

/**
 * Created by Colin on 2017/2/7.
 */

public interface MethodContract {

    interface MethodView extends BaseView {

    }

    interface MethodPresenter extends BasePresenter {

        void choosePhoto();

        boolean photoFileCreateSucceed();

        File getPhotoFile();

        void cropPhoto();

        void cropPhoto(Uri uri);
    }

    interface MethodModel extends BaseModel {

        List<String> getPermissionList();

        boolean photoFileCreateSucceed();

        File getPhotoFile();
    }
}
